Fix libfsimage build on NetBSD.
authorKeir Fraser <keir@xensource.com>
Sun, 23 Sep 2007 11:18:36 +0000 (12:18 +0100)
committerKeir Fraser <keir@xensource.com>
Sun, 23 Sep 2007 11:18:36 +0000 (12:18 +0100)
commitd6f6960a00a6872da0e554aa1a71e634a36226be
tree0bbc04013d95b2912eb04fe95f8d94da1bd0ef89
parentd68181c014cb8c33a8cbdeef2024377c48d9cb7f
Fix libfsimage build on NetBSD.

Fixes a number of these errors:
 cc1: warnings being treated as errors
 fsys_fat.c: In function 'fat_dir':
 fsys_fat.c:304: warning: array subscript has type 'char'

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
These ugly casts are needed according to the ISO C spec.

Acked-by: Keir Fraser <keir@xensource.com>
tools/libfsimage/ext2fs/fsys_ext2fs.c
tools/libfsimage/fat/fsys_fat.c
tools/libfsimage/iso9660/fsys_iso9660.c
tools/libfsimage/reiserfs/fsys_reiserfs.c
tools/libfsimage/ufs/fsys_ufs.c